package cn.com.czpb.client.module.live.view;

import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;

import cn.com.czpb.client.R;
import cn.com.czpb.client.utils.PageCtrl;

/**
 * Created by Administrator on 2017/10/18.
 */

public class TopViewLive implements View.OnClickListener {
    private View rootView;
    private Activity mActivity;
    private LinearLayout ll_id_1;
    private LinearLayout ll_id_2;

    public static TopViewLive instance(Activity activity) {

        return new TopViewLive(activity);
    }

    public TopViewLive(Activity activity) {
        //
        this.mActivity = activity;
        initView(activity);
    }

    public View getView() {
        return rootView;
    }

    /**
     * @param context
     */
    private void initView(Activity context) {
        LayoutInflater layoutInflater = LayoutInflater.from(context);
        rootView = layoutInflater.inflate(R.layout.header_live, null);
    }

    @Override
    public void onClick(View view) {
    }
}
